import { createRouter, createWebHashHistory } from 'vue-router'
export const routes = [
  {
    path: '/',
    redirect: '/DJSM'
  },
  {
    path: '/drawLotteryt',
    name: 'drawLotteryt',
    // route level code-splitting
    // this generates a separate chunk (drawLottery.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "drawLottery" */ '../views/drawLotteryt.vue')
  },
  {
    path: '/drawLotterys',
    name: 'drawLotterys',
    // route level code-splitting
    // this generates a separate chunk (drawLottery.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "drawLottery" */ '../views/drawLotterys.vue')
  },
  {
    path: '/drawLotteryn',
    name: 'drawLotteryn',
    // route level code-splitting
    // this generates a separate chunk (drawLottery.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "drawLottery" */ '../views/drawLotteryn.vue')
  },
  {
    path: '/mall',
    name: 'mall',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/mall.vue')
  },
  {
    path: '/result',
    name: 'result',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/result.vue')
  },
  
  {
    path: '/resultWchat',
    name: 'resultWchat',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/resultWchat.vue')
  },
  
  {
    path: '/DJBSM',
    name: 'DJBSM',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/DJBSM.vue')
  },
  {
    path: '/DJBEM',
    name: 'DJBEM',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/DJBEM.vue')
  },
  {
    path: '/DJSM',
    name: 'DJSM',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/DJSM.vue')
  },
  {
    path: '/DJBSMX',
    name: 'DJBSMX',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/DJBSMX.vue')
  },
  {
    path: '/DJEM',
    name: 'DJEM',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/DJEM.vue')
  },
  // 诺禾 百川  变现猫  xmod
  {
    path: '/hyh',
    name: 'hyh',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/hyh.vue')
  },
  {
    path: '/transfer',
    name: 'transfer',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/transfer.vue')
  },
  {
    path: '/privacyAgreement',
    name: 'privacyAgreement',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/privacyAgreement.vue')
  },
  // 复制支付
  {
    path: '/goods',
    name: 'goods',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/goods.vue')
  },
  {
    path: '/goodsMessage',
    name: 'goodsMessage',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/goodsMessage.vue')
  },
  {
    path: '/goodsDetail',
    name: 'goodsDetail',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/goodsDetail.vue')
  },
  {
    path: '/DJSJ',
    name: 'DJSJ',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/DJSJ.vue')
  },
  // 退款
  {
    path: '/refund',
    name: 'refund',
    // route level code-splitting
    // this generates a separate chunk (drawLottery.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "drawLottery" */ '../views/refund.vue')
  },
  {
    path: '/approval',
    name: 'approval',
    // route level code-splitting
    // this generates a separate chunk (drawLottery.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "drawLottery" */ '../views/approval.vue')
  },
  //原生支付
  {
    path: '/DJNBEM',
    name: 'DJNBEM',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/DJNBEM.vue')
  },
  {
    path: '/DJNBSM',
    name: 'DJNBSM',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/DJNBSM.vue')
  },
  {
    path: '/DJNSM',
    name: 'DJNSM',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/DJNSM.vue')
  },
  {
    path: '/DJNEM',
    name: 'DJNEM',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/DJNEM.vue')
  },
  {
    path: '/DJPBEM',
    name: 'DJPBEM',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () =>
      import(/* webpackChunkName: "about" */ '../views/DJPBEM.vue')
  },
]
const router = createRouter({
  history: createWebHashHistory(),
  base: process.env.BASE_URL,
  routes
})

export default router
